package com.jackiechancinema.ssm.dao;

import com.jackiechancinema.ssm.entity.Department;
import com.jackiechancinema.ssm.entity.Worker;

import java.util.List;

public interface WorkerDao {
    int insertWork(Worker worker);

    int updateWork(Worker worker);

    int deleteWork(int work_id);

    List<Worker> queryAll();


    List<Worker> queryBy(Worker worker);

    int insertBatch(List<Worker> list);
}
